#include "dataconfig.h"

DataConfig::DataConfig(QObject *parent) : QObject(parent){
    int arrar1[4][4] = {{1, 0, 1, 1},
                        {0, 0, 0, 1},
                        {1, 0, 1, 1},
                        {1, 1, 1, 1}};
    QVector<QVector<int>> v1;

    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar1[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(1,v1);

    int arrar2[4][4] = {{1, 0, 1, 1},
                        {0, 0, 1, 1},
                        {1, 1, 0, 0},
                        {1, 1, 0, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar2[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(2,v1);

    int arrar3[4][4] = {{0, 0, 0, 0},
                        {0, 1, 1, 0},
                        {0, 1, 1, 0},
                        {0, 0, 0, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar3[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(3,v1);

    int arrar4[4][4] = {{0, 1, 1, 1},
                        {1, 0, 0, 1},
                        {1, 0, 1, 1},
                        {1, 1, 1, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar4[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(4,v1);

    int arrar5[4][4] = {{1, 0, 0, 1},
                        {0, 0, 0, 0},
                        {0, 0, 0, 0},
                        {1, 0, 0, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar5[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(5,v1);

    int arrar6[4][4] = {{1, 0, 0, 1},
                        {0, 1, 1, 0},
                        {0, 1, 1, 0},
                        {1, 0, 0, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar6[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(6,v1);

    int arrar7[4][4] = {{0, 1, 1, 1},
                        {1, 0, 1, 1},
                        {1, 1, 0, 1},
                        {1, 1, 1, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar7[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(7,v1);

    int arrar8[4][4] = {{0, 1, 0, 1},
                        {1, 0, 0, 0},
                        {0, 0, 0, 1},
                        {1, 0, 1, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar8[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(8,v1);

    int arrar9[4][4] = {{1, 0, 1, 0},
                        {1, 0, 1, 0},
                        {0, 0, 1, 0},
                        {1, 0, 0, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar9[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(9,v1);

    int arrar10[4][4] = {{1, 0, 1, 1},
                         {1, 1, 0, 0},
                         {0, 0, 1, 1},
                         {1, 1, 0, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar10[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(10,v1);

    int arrar11[4][4] = {{0, 1, 1, 0},
                         {1, 0, 0, 1},
                         {1, 0, 0, 1},
                         {0, 1, 1, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar11[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(11,v1);

    int arrar12[4][4] = {{0, 1, 1, 0},
                         {0, 0, 0, 0},
                         {1, 1, 1, 1},
                         {0, 0, 0, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar12[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(12,v1);

    int arrar13[4][4] = {{0, 1, 1, 0},
                         {0, 0, 0, 0},
                         {0, 0, 0, 0},
                         {0, 1, 1, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar13[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(13,v1);

    int arrar14[4][4] = {{1, 0, 1, 1},
                         {0, 1, 0, 1},
                         {1, 0, 1, 0},
                         {1, 1, 0, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar14[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(14,v1);

    int arrar15[4][4] = {{0, 1, 0, 1},
                         {1, 0, 0, 0},
                         {1, 0, 0, 0},
                         {0, 1, 0, 1}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar15[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(15,v1);

    int arrar16[4][4] = {{0, 1, 1, 0},
                         {1, 1, 1, 1},
                         {1, 1, 1, 1},
                         {0, 1, 1, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar16[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(16,v1);

    int arrar17[4][4] = {{0, 1, 1, 1},
                         {0, 1, 0, 0},
                         {0, 0, 1, 0},
                         {1, 1, 1, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar17[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(17,v1);

    int arrar18[4][4] = {{0, 0, 0, 1},
                         {0, 0, 1, 0},
                         {0, 1, 0, 0},
                         {1, 0, 0, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar18[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(18,v1);

    int arrar19[4][4] = {{0, 1, 0, 0},
                         {0, 1, 1, 0},
                         {0, 0, 1, 1},
                         {0, 0, 0, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar19[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(19,v1);

    int arrar20[4][4] = {{0, 0, 0, 0},
                         {0, 0, 0, 0},
                         {0, 0, 0, 0},
                         {0, 0, 0, 0}};

    v1.clear();
    for (int i = 0; i < 4; i++){
        QVector<int> v;
        for(int j = 0; j <4; j++){
            v.push_back(arrar20[i][j]);
        }
        v1.push_back(v);
    }
    mdate.insert(20,v1);



}
